import type { PageParams, PageResult } from '@/types/global'
import type { VideoItem } from '@/types/videoItem'
import { http } from '@/utils/http'

/**
 * 获取视频详情
 * @param id 视频id 

 */
export const getVideoItemAPI = (id: string) => {
    return http<VideoItem>({
        method: 'GET',
        url: `/video/${id}`,

    })
}


